package org.dk.service;

import org.dk.pojo.OrderVo;
import org.dk.pojo.TbOrder;
import org.dk.pojo.TbOrderItem;

import java.util.List;

public interface OrderService {
    void addOrder(List<TbOrder> list, List<TbOrderItem> itemList);

    List<OrderVo> selectOrder(String username);

    TbOrderItem selectOrderId(String id);

    TbOrder selectAlipayId(Long orderId);

    String selectBySellerId(String out_trade_no);

    void updateOrder(String trade_no, String out_trade_no);

    void updateOrderrefund(String trade_no, String out_trade_no);
}
